package dto

type AddFirmwareVersionReq struct {
	Broadcast string `json:"broadcast" binding:"required"`
	Version   string `json:"version" binding:"required"`
	File      string `json:"file" binding:"required"`
}

type UpdateFirmwareVersionReq struct {
	ID      int    `json:"id" binding:"required"`
	Version string `json:"version" binding:"required"`
	File    string `json:"file" binding:"required"`
}

type CompareFirmwareVersionReq struct {
	Broadcast      string `json:"broadcast" binding:"required"`
	CurrentVersion string `json:"current_version" binding:"required"`
}

type CompareFirmwareVersionResp struct {
	IsUpgrade     bool   `json:"is_upgrade"`
	LatestVersion string `json:"latest_version"`
	File          string `json:"file"`
}
